package com.sztle.admodule.apiprocessor;

import android.app.Activity;

public class OutActivityProcessor {

    public static boolean isBackground = true;
    public static Activity topActivity;

    public static void setTopActivity(Activity topActivity) {
        OutActivityProcessor.topActivity = topActivity;
    }

    public static Activity getTopActivity() {
        return topActivity;
    }

    public static void setBackground(boolean isBackground) {
        OutActivityProcessor.isBackground = isBackground;
    }

    public static boolean isBackground() {
        return isBackground;
    }
}
